package ar.edu.uba.fi.jmit.aspecter.parser.configurations;

import java.util.HashMap;
import java.util.Map;

public class ConfigurationClass extends ConfigurationParse {
		
	private String className;
	private String id;

	public ConfigurationClass(String configurationName, String className, String id){
		super(configurationName);
		this.className = className;
		this.id = id;
	}
	
	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Override
	public Map<String, String> getMapForPlugin() {
		String prefix = this.configurationName + ".class.";
		Map<String, String> map = new HashMap<String, String>();
		map.put(prefix + "name", this.className);
		map.put(prefix + "id", this.id);
		return map;
	}	
}
